const User = require('./collection/User');

/**
 * mongoose只能使用insertMany方法
 * 
 */
User.insertMany({
    userid: "user0001_lmx",
    username : "lmx",
    password: "123456",
    age: 18,
    sex: 1
}, (err) => {
    if(err) throw err;
    console.log('插入成功')
})